import React from 'react';
import {connect} from "react-redux";
import {setUserInfo} from "../../redux/action/userInfoAction";
import {Outlet} from "react-router-dom";

const Login = () => {


  return (
    <div
      style={{
        width: "100%",
        height: "100vh",
        background: "rgb(225,225,225)",
      }}
    >
      <Outlet/>
    </div>
  );
};

const mapDispatchToProps = {
  setUserInfo
}

export default connect(null, mapDispatchToProps)(Login);